class Master(object):
    def __init__(self):
        self.kongfu = '[古法煎饼果子配方]'

    def make_cake(self):
        print(f'{self.kongfu}制作煎饼果子')

class School(object):
    def __init__(self):
        self.kongfu = '[hik煎饼果子配方]'

    def make_cake(self):
        print(f'{self.kongfu}制作煎饼果子')

class Prentice(School,Master):
    pass

daqiu = Prentice()
daqiu.make_cake()

"""
一个类有多个父类的时候，默认使用第一个父类的同名属性和方法
"""